xend/pvscsi: recognize also SCSI CDROM devices
authorOlaf Hering <olaf@aepfle.de>
Tue, 11 Feb 2014 14:27:24 +0000 (15:27 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 27 Mar 2014 15:05:52 +0000 (15:05 +0000)
commit9011c2615c18b92f10cda8d78622e0c2a9e1f846
tree7d2a848d84738ba6ab07df44fe388e1caa5d4b59
parent2256f09ee54136a399374c3d1b9a0c99df2fd66c
xend/pvscsi: recognize also SCSI CDROM devices

Attaching a CDROM device with 'xm scsi-attach domU /dev/sr0 0:0:0:0'
fails because for some reason the sr driver was not handled at all in
the match list. With the change the above command succeeds and the
device is attached.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Matt Wilson <msw@amazon.com>
tools/python/xen/util/vscsi_util.py